package com.asdc.autoscanfiles.entity;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.asdc.autoscanfiles.utils.DateUtils;

public class ImgFileDto implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5252164742812502691L;
	private String level1 = ""; // 一级分类
	private String level2 = ""; // 二级分类
	private String level3 = ""; // 三级分类
	private String path; // 原文件路径
	private String newPath;// 新文件路径
	private String elementType = ""; // 要素类型，对应要素代码
	private String areaNumber = ""; // 区站号
	private String beginDateStr; // 开始日期
	private String endDateStr;// 结束日期
	private String type = ""; // 相同日期下多个文件
	private String fileName; // 文件名称
	private String sheng = ""; // 省份
	private String typeValue = ""; // 标识图片文件类型
	private String provinceCode = "";
	private String provinceName = "";
	private String areaName = "";
	private Date beginDate;
	private Date endDate;

	public String getTypeValue() {
		return typeValue;
	}

	public void setTypeValue(String typeValue) {
		this.typeValue = typeValue;
	}

	public String getSheng() {
		return sheng;
	}

	public void setSheng(String sheng) {
		this.sheng = sheng;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getLevel1() {
		return level1;
	}

	public void setLevel1(String level1) {
		this.level1 = level1;
	}

	public String getLevel2() {
		return level2;
	}

	public void setLevel2(String level2) {
		this.level2 = level2;
	}

	public String getLevel3() {
		return level3;
	}

	public void setLevel3(String level3) {
		this.level3 = level3;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getNewPath() {
		return newPath;
	}

	public void setNewPath(String newPath) {
		this.newPath = newPath;
	}

	public String getElementType() {
		return elementType;
	}

	public void setElementType(String elementType) {
		this.elementType = elementType;
	}

	public String getAreaNumber() {
		return areaNumber;
	}

	public void setAreaNumber(String areaNumber) {
		this.areaNumber = areaNumber;
	}

	public String getBeginDateStr() {
		return beginDateStr;
	}

	public void setBeginDateStr(String beginDateStr) {
		this.beginDateStr = beginDateStr;
		this.setBeginDate(DateUtils.parseNoSpaceDate(this.beginDateStr));
	}

	public String getEndDateStr() {
		return endDateStr;
	}

	public void setEndDateStr(String endDateStr) {
		this.endDateStr = endDateStr;
		this.setEndDate(DateUtils.parseNoSpaceDate(this.endDateStr));
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

}
